#ifndef _ETIM_H__ 
#define	_ETIM_H__ 

#include "stm32f10x.h"
#include "stm32f10x_tim.h"
#include "stm32f10x_rcc.h"
#include "misc.h"

#define	START_TIM 	TIM_Cmd(TIM2, ENABLE);TIM_ITConfig(TIM2,TIM_IT_Update,ENABLE);
#define	STOP_TIM 	TIM_Cmd(TIM2, DISABLE);TIM_ITConfig(TIM2,TIM_IT_Update,DISABLE);
void Timer_Init(void);
void DelayMs(u32 nCount);

#endif
